package com.zwz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zwz.bean.Contents;


import java.util.List;

public interface ContentsService {
    boolean insert(Contents contents);

    boolean deleteById(Integer cid);

    boolean updateById(Contents contents);

    Contents getById(Integer cid);

    IPage<Contents> getPage(int currentPage, int pageSize, Contents contents);

    int countAll();

    List<Contents> startList(Integer tid);


}
